﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface ICustomer
    {
        OperationResult<List<tb_Customer>> GetAllCustomer(int currentpage, int pageSize);
        OperationResult<tb_Customer> GetCustomerById(int id);
        OperationResult<tb_Customer> CreateCustomer(tb_Customer entity);
        OperationResult<tb_Customer> ModifyCustomer(tb_Customer entity);
        OperationResult<tb_Customer> DeleteCustomer(tb_Customer entity);
        OperationResult<List<tb_Customer>> GetCustomerByMasterType(int masterTypeId);
    }
}
